﻿using System;
using System.Collections;
using System.Collections.Generic;
using DBA.Common;

namespace DBA.Model
{
    /// <summary>
    ///功能描述    :    test_UserInfo
    ///开发者      :    
    ///建立时间    :    2012-8-15 15:38:25
    ///修订描述    :    
    ///进度描述    :    
    ///版本号      :    1.0
    ///最后修改时间:    2012-8-15 15:38:25
    /// </summary>
        //[OrmPropertyAttribute(TableName = "test_UserInfo",PrimaryKey = "UserID",PrimaryKeyType = "IDENTITY",ParameterType = "int")]
    public class Test_UserInfo
    {
        #region 构造函数
        public Test_UserInfo(){}
        
        public Test_UserInfo(int UserID,string UserName,string Address,string IDcard,string Phone,string Mobile,string Email,string PostalCode)
        {
           this._UserID = UserID;
           this._UserName = UserName;
           this._Address = Address;
           this._IDcard = IDcard;
           this._Phone = Phone;
           this._Mobile = Mobile;
           this._Email = Email;
           this._PostalCode = PostalCode;

        }
        #endregion
        
        #region 成员
        private int _UserID;
        private string _UserName;
        private string _Address;
        private string _IDcard;
        private string _Phone;
        private string _Mobile;
        private string _Email;
        private string _PostalCode;
        #endregion
        
        #region 属性
        /// <summary>
        /// 
        /// </summary>
        //[OrmPropertyAttribute(ParameterType = "int",ParameterLength = 4,IsNull = "0")]
        public virtual int UserID
        {
            get { return _UserID; }
            set { _UserID = value; }
        }
        /// <summary>
        /// 
        /// </summary>
        //[OrmPropertyAttribute(ParameterType = "varchar",ParameterLength = 50,IsNull = "1")]
        public virtual string UserName
        {
            get { return _UserName; }
            set { _UserName = value; }
        }
        /// <summary>
        /// 
        /// </summary>
        //[OrmPropertyAttribute(ParameterType = "varchar",ParameterLength = 200,IsNull = "1")]
        public virtual string Address
        {
            get { return _Address; }
            set { _Address = value; }
        }
        /// <summary>
        /// 
        /// </summary>
        //[OrmPropertyAttribute(ParameterType = "varchar",ParameterLength = 20,IsNull = "1")]
        public virtual string IDcard
        {
            get { return _IDcard; }
            set { _IDcard = value; }
        }
        /// <summary>
        /// 
        /// </summary>
        //[OrmPropertyAttribute(ParameterType = "varchar",ParameterLength = 20,IsNull = "1")]
        public virtual string Phone
        {
            get { return _Phone; }
            set { _Phone = value; }
        }
        /// <summary>
        /// 
        /// </summary>
        //[OrmPropertyAttribute(ParameterType = "varchar",ParameterLength = 50,IsNull = "1")]
        public virtual string Mobile
        {
            get { return _Mobile; }
            set { _Mobile = value; }
        }
        /// <summary>
        /// 
        /// </summary>
        //[OrmPropertyAttribute(ParameterType = "varchar",ParameterLength = 100,IsNull = "1")]
        public virtual string Email
        {
            get { return _Email; }
            set { _Email = value; }
        }
        /// <summary>
        /// 
        /// </summary>
        //[OrmPropertyAttribute(ParameterType = "varchar",ParameterLength = 10,IsNull = "1")]
        public virtual string PostalCode
        {
            get { return _PostalCode; }
            set { _PostalCode = value; }
        }
        #endregion
    }
}